import {request} from '@/utils/request'

// 资金科目树
export function fundAccountTree(param) {
    return request({
        url: '/fundAccount/show',
        method: 'post',
        data: param,
    })
}

// 资金科目详情
export function fundAccountDetail(param) {
    return request({
        url: '/fundAccount/detail',
        method: 'post',
        data: param,
    })
}

// 资金科目保存
export function fundAccountSave(param) {
    return request({
        url: '/fundAccount/save',
        method: 'post',
        data: param,
    })
}

// 资金科目删除
export function fundAccountDelete(param) {
    return request({
        url: '/fundAccount/delete',
        method: 'post',
        data: param,
    })
}
